      <tr>
        <td>{$label} : </td>
        <td>
{if isset($specialField) && $specialField == true}
{ldelim}foreach from=$relatedDocs.{$name} item=doc key=k{rdelim}
	  <span><label for="form_label_{$name}_{$k}">{ldelim}$doc[1]{rdelim} :</label><input type="radio" id="form_label_{$name}_{$k}" name="{$formName}[{$name}]" value="{ldelim}$doc[0]{rdelim}" {ldelim}if isset($values.{$name}) && $values.{$name} == $doc[0]{rdelim}checked="checked"{ldelim}/if{rdelim} {ldelim}if isset($doc[2]){rdelim}{ldelim}$doc[2]{rdelim}{ldelim}/if{rdelim}/></span>
{ldelim}/foreach{rdelim}	
{else}
{if isset($subElements) && count($subElements) > 0}
{foreach from=$subElements item=radio key=k}
         <span><label for="form_label_{$name}_{$k}">{$radio.label} :</label><input type="radio" id="form_label_{$name}_{$k}" name="{$formName}[{$name}]" value="{$radio.value}" {ldelim}if isset($values.{$name}) && $values.{$name} == "{$radio.value}"{rdelim}checked="checked"{ldelim}/if{rdelim} {if isset($radio.subOtherAttributes)}{$radio.subOtherAttributes}{/if}/></span>
{/foreach}
{else}
          <input type="radio" name="{$formName}[{$name}]" {if isset($value)}value="{$value}" {ldelim}if isset($values.{$name}) && $values.{$name} == "{$value}"{rdelim}checked="checked"{ldelim}/if{rdelim}{else}value=""{/if} {if isset($otherAttributes)}{$otherAttributes}{/if} />
{/if}
{/if}
        </td>        
        <td>{if $hasCheckers}{ldelim}if isset($errors.{$name}){rdelim}<span>{ldelim}$errors.{$name}{rdelim}</span>{ldelim}/if{rdelim}{/if}</td> 
      </tr>
